home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-03-04 | 4.4 KB | 134 lines | [TEXT/MPS ] |
- ; File: E16.Resources
- ;
- ;
- ; Copyright Apple Computer, Inc. 1986-92
- ; All Rights Reserved
- ;
- ;
- resLogOut EQU $0
- resLogIn EQU $1
- resLogApp EQU $0
- resLogSys EQU $2
- resForkUsed EQU $1E01 ; Resource fork not empty
- resBadFormat EQU $1E02 ; Format of resource fork is unknown
- resNoConverter EQU $1E03 ; No converter routine available for resource type
- resNoCurFile EQU $1E04 ; there are no current open resource files
- resDupID EQU $1E05 ; ID is already used
- resNotFound EQU $1E06 ; resource was not found
- resFileNotFound EQU $1E07 ; resource file not found
- resBadAppID EQU $1E08 ; User ID not found, please call ResourceStartup
- resNoUniqueID EQU $1E09 ; a unique ID was not found
- IF &FINDSYM(&SYSGLOBAL,'RESINDEXRANGE')=0 AND &FINDSYM(&SYSGLOBAL,'resindexrange')=0 THEN ; Index is out of range
- resIndexRange EQU $1E0A
- ENDIF
- resSysIsOpen EQU $1E0B ; System file is already open
- resHasChanged EQU $1E0C ; Resource marked changed; specified operation not allowed
- resDiffConverter EQU $1E0D ; Different converter already logged in for this resource type
- resDiskFull EQU $1E0E ; Volume is full
- resInvalidShutDown EQU $1E0F ;can't shut down ID 401E
- resNameNotFound EQU $1E10 ;no resource with given name
- resBadNameVers EQU $1E11 ;bad version in rResName resource
- resDupStartUp EQU $1E12 ;already started with this ID
- resInvalidTypeOrID EQU $1E13 ;type or ID is 0
-
-
- resChanged EQU $0020
- resPreLoad EQU $0040
- resProtected EQU $0080
- resAbsLoad EQU $0400
- resConverter EQU $0800
- resMemAttr EQU $C31C ; Flags passed to the NewHandle Memory Manager call
- systemMap EQU $0001
- mapChanged EQU $0002
- romMap EQU $0004
- resNameOffset EQU $10000 ; type holding names
- resNameVersion EQU $0001
- sysFileID EQU $0001
-
- rIcon EQU $8001 ; Icon type
- rPicture EQU $8002 ; Picture type
- rControlList EQU $8003 ; Control list type
- rControlTemplate EQU $8004 ; Control template type
- rC1InputString EQU $8005 ; GS/OS class 1 input string
- rPString EQU $8006 ; Pascal string type
- rStringList EQU $8007 ; String list type
- rMenuBar EQU $8008 ; MenuBar type
- rMenu EQU $8009 ; Menu template
- rMenuItem EQU $800A ; Menu item definition
- rTextForLETextBox2 EQU $800B ; Data for LineEdit LETextBox2 call
- rCtlDefProc EQU $800C ; Control definition procedure type
- rCtlColorTbl EQU $800D ; Color table for control
- rWindParam1 EQU $800E ; Parameters for NewWindow2 call
- rWindParam2 EQU $800F ; Parameters for NewWindow2 call
- rWindColor EQU $8010 ; Window Manager color table
- rTextBlock EQU $8011 ; Text block
- rStyleBlock EQU $8012 ; TextEdit style information
- rToolStartup EQU $8013 ; Tool set startup record
- rResName EQU $8014 ; Resource name
- rAlertString EQU $8015 ; AlertWindow input data
- rText EQU $8016 ; Unformatted text
- rCodeResource EQU $8017
- rCDEVCode EQU $8018
- rCDEVFlags EQU $8019
- rTwoRects EQU $801A ; Two rectangles
- rFileType EQU $801B ; Filetype descriptors--see File Type Note $42
- rListRef EQU $801C ; List member
- rCString EQU $801D ; C string
- rXCMD EQU $801E
- rXFCN EQU $801F
- rErrorString EQU $8020 ; ErrorWindow input data
- rKTransTable EQU $8021 ; Keystroke translation table
- rWString EQU $8022 ; not useful--duplicates $8005
- rC1OutputString EQU $8023 ; GS/OS class 1 output string
- rSoundSample EQU $8024
- rTERuler EQU $8025 ; TextEdit ruler information
- rFSequence EQU $8026
- rCursor EQU $8027 ; Cursor resource type
- rItemStruct EQU $8028
- rVersion EQU $8029
- rComment EQU $802A
- rBundle EQU $802B
- rFinderPath EQU $802C
- rPaletteWindow EQU $802D ; Used by HyperCard IIgs 1.1
- rTaggedStrings EQU $802E
- rPatternList EQU $802F
- rRectList EQU $C001
- rPrintRecord EQU $C002
- rFont EQU $C003
-
- ; ResHeaderRec offsets
- rFileVersion EQU $0000 ;long
- rFileToMap EQU $0004 ;long
- rFileMapSize EQU $0008 ;long
- rFileMemo EQU $000C ;128 bytes
- rFileRecSize EQU $008C
-
- ; MapRec offsets
- mapNext EQU $0000 ;handle
- mapFlag EQU $0004 ;word
- mapOffset EQU $0006 ;long
- mapSize EQU $000A ;long
- mapToIndex EQU $000E ;word
- mapFileNum EQU $0010 ;word
- mapID EQU $0012 ;word
- mapIndexSize EQU $0014 ;long
- mapIndexUsed EQU $0018 ;long
- mapFreeListSize EQU $001C ;word
- mapFreeListUsed EQU $001E ;word
- mapFreeList EQU $0020 ;"n" bytes
- ;mapIndex EQU mapFreeList+sizeof(mapFreeList)
-
- ; FreeBlockRec offsets
- blkOffset EQU $0000 ;long
- blkSize EQU $0004 ;long
- blkRecSize EQU $0008
-
- ; ResRefRec offsets
- resType EQU $0000 ;word
- resID EQU $0002 ;long
- resOffset EQU $0006 ;long
- resAttr EQU $000A ;word
- resSize EQU $000C ;long
- resHandle EQU $0010 ;handle
- resRecSize EQU $0014
-